package com.itfreer.power.service.logging;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.power.entity.logging.LogInfo;

@Component("visit_logging")
@Path("/visit_logging/")
public class RestLoggingService extends BaseRestService<LogInfo> {

	@Autowired
	private LoggingService loggingService;
	
	@Override
	protected BaseService<LogInfo> getService() {
		return loggingService;
	}

	@Override
	protected String getServiceName() {
		return "visit_logging";
	}
}
